package com.amethyst.swagger2.demo.admin.controller;

import com.amethyst.swagger2.demo.common.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Amethyst
 * @date 2021/10/15
 */
@Api(value = "后端用户接口", tags = "后端用户接口")
@RestController
@RequestMapping("/admins/users")
public class AdminUserController {

    @ApiOperation("添加分类")
    @GetMapping("/add")
    public ResponseResult<String> add() {
        return ResponseResult.ok("admin users add");
    }
}
